package com.eric.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Validated
public class UnitNameDTO {

    private Integer id;
    @NotBlank(message = "单位名称不能为空")
    private String unitName;
    private String createTime;
    private String updateTime;
    private String createBy;
    private String updateBy;



}
